﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/RedesignedMaster.Master" Inherits="System.Web.Mvc.ViewPage<List<final_darskade.Models.klass_members>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	prof_privilegeList
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table>
        <thead>
          <tr>
            <th>شماره دسترسی</th>
            <th>نام نوع دسترسی</th>
            <th>شماره دانشجویی</th>
            <th>حذف</th>
          </tr>
        </thead>
        <tbody>
            <%foreach (var privilege in Model){%>
                <tr>
                    <td><%=privilege.privilege_id%>
                    <td><%=privilege.privilege.privilege_name %></td>
                    <td><%=privilege.member_id %></td>
                    <td><%=privilege.user.username %></td>
                    <td><a href = "/Privilege/Delete?membership_id=<%=privilege.membership_id%>">حذف</a></td>
                </tr>
            <% } %>

        </tbody>
    </table>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="RightColumn" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="Breadcrumbs" runat="server">
</asp:Content>
